﻿using System;
using System.Collections.Generic;
using System.Text;
using UtilZ.Dotnet.Ex.Base;

namespace UtilZ.Dotnet.Ex.Communication.Base
{
    /// <summary>
    /// 连接建立类型
    /// </summary>
    public enum ConnectTypes
    {
        /// <summary>
        /// 主动连接,即自身为客户端,主动连接到服务端
        /// </summary>
        Active,

        /// <summary>
        /// 被动连接,即自身为服务端,等待客户端来连接
        /// </summary>
        Passive
    }
}
